<template>
    <div class="title_style">
      <div class="bg_color_main">
      </div>
      <div class="title_text">
        {{title}}
      </div>
    </div>
</template>

<script>
  export default {
    name: 'ModuleHeader',
    props: {
      title: {
        type: String,
        default: null
      },
    },
  }
</script>

<style scoped>
  .title_style {
    align-items: center; /* 添加这行代码 */
    font-size: 20px;
    display: flex;
    line-height: 48px;
    width: 100%;
    height: 48px;
    border-bottom: 1px solid #eeeded;
  }
  .bg_color_main{
    background-color: #3fc3e3;width: 4px;height: 15px;
  }
  .title_text{
    margin-left: 10px;
    color: #333;
    font-size: 16px;
  }


</style>
